sum=0;
for((i=1; i<=100; i++))
#for(i=1; i<=100; i++)
do
  sum=$[sum+i]
done
echo "1到100的和是$sum"

